basic timer functionality in mainactivity/game