finish edit movie function