fixed layout issues in preferences area and applicationform