Replace button test works

Replace button works with a test string in reactionsTable.
Replace button partially works

Replace button replaces text in replace field, with some case problems,
and validation problems in reactionsTable.