added resposnsiveness of apply button