Change argument for addTask function in text input
Implement fix for Firefox enter key issue