Update preview when app is changed.