#20 Prepared UI by adding switch to statistics tab