Added clearing message view on code run