Increase abstraction of class. No reason that client should be able to call setPreviousDuration and this would break interaction with interface. Changed logic in implementation.