Fix single line issue in preferences and adds summary as hint (need to be checked if correct behaviour).