[fix] warnings for playbac module, and stimpack insertion now uses charges as the capacity not the stimpack itself, added a null check

Change-Id: I26f1318c251592fbc5cfc66e5263fde2bef1f44a