changed apply button