added option to clear custom dictionary
fixed display bug after clearing definitions