added button logic to gamescreen