added a form reset when user clicks add phrase button
little optimization