Gilani extends Kayanis tenure by three years