Buttons on page view working