What is the ruling on the chatting between a young man and his girlfriend?
Private chatting between the two sexes entails religious violations, and leads to prohibited attachment.
What is the ruling on performing voluntary prayers during official working hours?
All perfect praise be to Allah, The Lord of The Worlds, and may His Peace and Blessings be upon our Prophet Muhammad and upon all of his family and companions
There is no harm if there was break time during official working hours, but if not then it is impermissible. And Allah Knows Best.
I made a vow "If the Israeli troops retreated out of Gaza strip I will buy a cake from a certain bakery" and it happened. Am I obliged to buy from the same bakery?
You are obliged to buy from the same bakery. And Allah Knows Best.
Is speaking to a person from the opposite sex forbidden or not?
All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Talking to a person from the opposite sex is forbidden in Islam because it entails a great deal of evil, which could lead to a graver sin. Moreover, Islam forbids having a friend from the opposite sex. And Allah The Almighty Knows Best.