bugfix for main icons unclickable and main persistence