prevent createNewTask method click not visible add button