I've fixed issue with boss defeat state not resetting in main menu. However, I also updated the module with more stuffs such as alternate lock method, quit to menu button and random boss.