refactoring to use resources instead of hardcoded string

Signed-off-by: Joern Bernhardt <jb@campudus.com>