fixed possible null pointer exceptions in RecordingArrayAdapter