prepare end game button