As per Issue #1, fixed bug where input doesn't clear after submit