Changed refresh rate to once every 25 ms