cleanup appdelegate.m file