add restart and home buttons when game is over