changed button removal proccess