Remove unused imports
Prevent some errors after screen rotation