move spinner deletion to addmessage