Implemented device transition also for WP8.1