Fix refresh button in table editor
Detect table and view rename