Add refresh image button.
Fix trailing whitespaces.