fixing bug rendering button for inmueble status