Improved button functionality and implemented turnTimer.