Refactor topic view code
Like, delete topic