Moved link click event to main activity and cleaned up other events code

Change-Id: I0bc259c3664b699294d3f3a74937847137ada425
Signed-off-by: Rob <robert.healy3@gmail.com>