Added screen refresh to the refreshListener in main.lua