app delegate does not erase key on each launch