Made actions from different locations in separate divs