Discounted Optimal Stopping Problems for Maxima of Geometric Brownian Motions With Switching Payoffs. (March 2021)