Trim note title when text is too long
Improve front layout