Move uploading action before the QR action.
[REBASE] Always finish the action mode on click.