code review changes for RefreshMap task in MainActivity