Eink refresh small refactoring.
Fixed application slowdown after resume from suspend.