Fixed disappearing button

Text mode section disappeared after using one of the buttons in the
menu. This bug is fixed.