Remove UIApplicationWillResignActiveNotification on dealloc

This should fix the crash described in #38.