Not showing messages when the map tab is not selected