fix repeated blocks appear in "Recent blocks" table

Blocks keep being appended to "Recent blocks" table, it seems the table data should be cleared every time