added buttons to MainPage, working on timer