Made long click a click action

Changed LongClickAction to a ClickAction.
Fixed a bug related to timing in HookService.
Repository updated to support long clicks

The XMLRepository now supports long clicks.

Also a couple of white spaces changes.