Repaired a nullpointerexception on putextra and getextra.