resolves #31
Changed the usage of UI locks in pie-charts