Investing in Mutual Funds with Regime Switching