I uploaded a bugfixed versio that displays a message when generating the level and locks the level until you collected all batteries.
Thank you for the feedback!