Clean up mobile detection