Fixing triggers for windows phone.
Fixing visual state issues in the main page.