change min sdk level from 7 to 12
remove unused imports