adding project name into widget
refactoring