In GUI add resolution button and fix layout