built layout: added buttons, added time changing functionality