Fixing weird behaviour when change any data in ideaPanel