Fixing countdown upon back click