Fix crash on hardware detection if libapm is not present in firmware
Fix radiobutton in picture viewer menu