Fixed event notification for appWillResign