Preview while editing. Todo listener