Active Button Background

Hi there, I am trying to create an active button background check and set whenever the button was hovered. I am sure there are easier ways to create it. Am just a beginner and trying to do by myself unfortunately I got into problems. Everything works fine, but last button is always setting active background without calling or pressing on him. Hope its an easy fix. Here is a screenshot of what I have: