refactor view model
Passing selected profile to options windos