some style changes

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
only show suggestions and recently if user prefs is above 0

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
update in if statement

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
some style changes

Signed-off-by: Alexander Skjolden <alex@plastboks.net>