Fix the problem of the Add button.