Update preview when app is changed.
Merge pull request #18 from chuckharmston/update_preview

Update preview when app is changed.