restarting menu code