Converted icon filter to stack and added icon function