Wrong message display when delete theme

Fix #281