Speed up GetDefaultWidgetEntryPage function

This patch introduces three improvements in the function looking
for widget startup page. There were unnecessary tests when the
result was already found.
Merge pull request #2744 from tweglarski/GetDefaultWidgetEntryPageSpeedUp

Speed up GetDefaultWidgetEntryPage function