added apply buttons

added apply buttons