Fix main menu bug, add support to multiple file sync