Fix checkstyle error
[GUI-221] Adding rest endpoint to pause and resume views in Web UI