change buttons replacement method