Added steps to save the chapter info in shared preference