feat(magic8UI): add logic for the table