Recovery of deposit money.

Hi My name is Sumit and I am a student. On 1st November 2014 I entered into an agreement of leave and licence with my owner for renting out his property to me for the period of 11 month. The rent which I was liable to pay was Rs. 10000 and on the date of agreement I paid Rs. 25000 as security money. However after the expiry of the agreement the owner did not show any interest for renewing the agreement and allowed me to stay and also he never asked me to increase 10 % of the rent which was there in the agreement. I continued to stay at the premises also paid the rent I.e. 10000 for 1 year and 9 month before due date. Last month when I had given a verbal notice that now I would like to vacate the flat he was ready to pay me back the deposit money which is Rs. 25000. But the day when I was suppose to leave he refused to pay me the deposit as he is saying that the excess 10% which he had not taken after the expiry period wants to recover from the deposited money. Pursuant of which I refused to vacate the flat. So please suggest me how can I recover my security because according to me the owner has waived his right to collect the 10% excess rent and whole the time he was aware of how much rent i was paying neither he has given me any notice for increasing the rent nor any notice for eviction. Thanks in advance.