Working with widget