Fixed version number
Now the last profile is always select (even when new profile is added)