the earth on B is just for self eye appeal. i hate to see ends hanging on its own. haha. sorry about that.
i was trying to make a button for an elevator system. i tried to find a specific button which has the function like the circuit but still haven't found any. so i just decided to make one with similar functions as i have a lot of relays in my storage.