Closes #3. Update preview when change tab.