Fixed buttons hiding when hover an active element. Optimized all ajax requests and some other code