Attempt at optimizing Portraittimers