Update AppBarFunctions.cs

SetAppBar():  Modified function to update the Desktop Window Manager attributes which prevents the supplied window from being hidden during 'peek desktop' and 'hide desktop' events.