Remove unnecessary app delegate code