Is the prayer of someone who didn`t face Quibla (Ka`ba direction) valid?
All perfect praise be to Allah,The Lord of The Worlds. Facing the Quibla is a condition for the validity of prayer, and the prayer of the person who hadn`t faced the direction of the Quibla is invalid, and he is obliged to repeat it. 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.
What is teh ruling on thoughtless oath?
One who swears by Allah unintentionally and isn`t determined to fulfill his oath, nothing is due on him. Allah, The Almighty, Says (What means): "God will not call you to account for thoughtlessness in your oaths, but for the intention in your hearts; and He is Oft-forgiving, Most Forbearing." [Al-Baqarah/225]. However, it is dispraised for a Muslim to swear frequently.
What is the ruling on working for a company that manufactures cigarettes?
All Perfect Praise is due to Allah, The Lord of The Worlds
Working for a company that manufactures cigarettes is forbidden because smoking itself is forbidden, so its production, selling and circulation are forbidden as a result since they aid in committing sin, and whoever aids in that is like the sinner himself. And Allah Knows Best.