made the layout in the DeviceControlsWidget a property of the class so it can be modified by the user