Added refreshHUD()