fixed config path modified button removal code.

Signed-off-by: Furt <lit_69@hotmail.com>