replaced hardcoded resource keys with those from ResourceKeys class