As alternative to the coding you can use Playmaker actions.
Actions can be found in zip archive under:
After extracting action files, you can use native pop-ups actions. In action browser actions can be found under the WP8 Native tab
Here is list of actions currently available with the plugin: