Register theme and finalize table