adjust UI of widget