Created a plugin for active button