AppDelegate: incoming file fixes (removing it on every cancel button)