Third Commit - Done with optional 1st in which updating the tip value on on changing the text automatically.