fixed submenu toggle functionality
Moved 'clear history' function to submenu.
Added temporary branch feature.