OneDriveSynchronizngPage.xaml - moved repeated code to func

Signed-off-by: Daniel Pawłowski <danielpawlow@gmail.com>