Some cleanup
android: Cleanup of dpi/refresh variables