Set active profile on view ajax