Making sure we don't have any race conditions.
Adding initialization logic into the wrapped action, so when the action cannot be queued, the screen wouldn't get stuck on the loading animation.