added calculation of money back, save counters to database
added menu switch