Text this: Modelling the Impact of Media in Controlling the Diseases with a Piecewise Transmission Rate