Adds in a null check in restoreActionViewStates incase states Bundle is present but viewStates within is null.