Finally the first working version with XAML