refactored mobile device widget