Refactored MsgBoxes

Added a method to add message