Horan expressed displeasure over fan secretly taking his pic