Reference curAppID with a different method
Remove areas where curAppID is explicitly set to nil