Async guard
This should prevent race condition and crashes when when changing modes (locking, unlocking, creating new profile)
Edited by Mateusz Żebrak
This should prevent race condition and crashes when when changing modes (locking, unlocking, creating new profile)