[TaskyPortable] refactor WinPhone code