fdo#81036 escape ~ in .ui and fix a typo (straight apostrophe)

Change-Id: I652dc63cc0e8fb04d7c3115d66d60dabda60f0f4