Expanding functions of up button