MDL-38171: Fix DB structure and fit all buttons on one line.