* fixed undefined index issue (primaryText was getting set to undefined).
* added apply button.
* changed some css