Fix Python Dialog appearing on every startup. 

The dialog to choose the python program was appearing
on every startup of ninja-ide in Windows. I changed the name of
settings variable to point to the correct one.

I see that the issue #1741 is fixed but I still seeing this in Windows, 

Also a change to the string format was added to keep the
RefactoringTool happy.