bug fix: add button now works on click