Library for automatic state saving on Android