Fixed starting/stopping apps locking up issue.