Corrected mistakes in the TbToggleAction.
Replaced conditional with guard case.