Having an optimistic mindset is a choice.