Text this: Optimal Financing and Dividend Strategies with Time Inconsistency in a Regime Switching Economy