Adding rename method

Initial commit for rename method on ``ToggleManager``
!empty check isn't needed here