Fixed lag when opening grades view for the first time