Minor fixes on refresh method when downloading new messages