move regexp tests from template to app method, add setter and getter for Observer
change regexp text input appearance on focus
change regexp expression string when changing it in text input