buttons on main page work