Camera button is now not visible if the device has no rear facing camera. Added some debug logging.