Contacts ui fixes

Fixes for https://github.com/owncloud/apps/issues/1033