fixes error when clicking recent multiple times would show several loading messages