activity select disble enable function