Remove some trailing whitespace in application controller.
Do this string in a more compact and beautiful way.