Removing inactive buttons