Add check button sql command to db