@denizbazzz maybe the problem is in the Arduino code. If you show it here, we can discuss whether it is ok. Please give information at which pins the buttons and relais are connected.