Changed game states switching to single render() method