save button (not working without backend) and fix preview