Remove Warning from main activity

remove unnecessary import and methods from main activity