Add support for HotKey monitoring in CS sample