Add Button does not work first time