Fixed WP8 crash bug and made it save when back button is pressed in editor