Fixed bug in desktop widget