BaseAppState not working

Where do you attach it?

Also: