adding apply button