made title button change state to menu