Updated sample to include callbacks for when leaderboards view and achievements view are dismissed.