Properly clear settingsMap and tempUnblockMap on location change and tab close