Added function for getting display refresh rate