Implements leave button on game menu