Implemented a possible solution for the slow UI response regarding recursive enable/disable calls. #887