Moved Spark click event logic into home-view