Added reset button and cleaned the menu code.